set(TOOLS_BATCH_PATH "${TOOLS_PATH}/batch")

set(TOOLS_BATCH_FILE_LIST_SCRIPTS
    ${TOOLS_BATCH_PATH}/update_parser_by_scheme.bat
    ${TOOLS_BATCH_PATH}/update_parser_by_scheme.sh
    )
    
set(TOOLS_BATCH_FILE_LIST_CODES
    ${TOOLS_BATCH_PATH}/codes/extension.schema.json.h
    ${TOOLS_BATCH_PATH}/codes/extension.schema.json.variable.cpp
    ${TOOLS_BATCH_PATH}/codes/extension.schema.json.function.cpp
    ${TOOLS_BATCH_PATH}/codes/extension.schema.json.parser.to.cpp
    ${TOOLS_BATCH_PATH}/codes/extension.schema.json.parser.from.cpp
    ${TOOLS_BATCH_PATH}/codes/libgltf.header.include.h
    ${TOOLS_BATCH_PATH}/codes/libgltf.header.namespace.begin.h
    ${TOOLS_BATCH_PATH}/codes/libgltf.header.namespace.end.h
    )

set(TOOLS_BUILD_FILE_LIST_CONFIG
    ${ROOT_PATH}/.github/FUNDING.yml
    ${ROOT_PATH}/.github/workflows/coverage.yml
    ${ROOT_PATH}/.github/workflows/build.yml
    ${ROOT_PATH}/.github/workflows/release.yml
    )

source_group("scripts" FILES ${TOOLS_BATCH_FILE_LIST_SCRIPTS})
source_group("codes" FILES ${TOOLS_BATCH_FILE_LIST_CODES})
source_group("build" FILES ${TOOLS_BUILD_FILE_LIST_CONFIG})

add_custom_target(batch SOURCES ${TOOLS_BATCH_FILE_LIST_SCRIPTS} ${TOOLS_BATCH_FILE_LIST_CODES} ${TOOLS_BUILD_FILE_LIST_CONFIG})
set_property(TARGET batch PROPERTY FOLDER tools)
